home *** CD-ROM | disk | FTP | other *** search
/ HyperLib 1997 Winter - Disc 1 / HYPERLIB-1997-Winter-CD1.ISO.7z / HYPERLIB-1997-Winter-CD1.ISO / オンラインウェア / BUS / DynRisk 68k 4.01 demo.sit / DynRisk-Help.rsrc / TEXT_6502.txt < prev    next >
Text File  |  1996-08-30  |  331b  |  12 lines

  1. Abs
  2.  
  3. Absolute value function. The absolute value of a negative number is equal to the number multiplied by (-1). The absolute value of a positive number is equal to the number itself.
  4.  
  5. Default parameter values:
  6.     a = 1, b = 1, c = 0
  7.  
  8. Example:
  9.     a = 1, b = 1, c = 0
  10.  
  11.     Input = - 5.3  =>  Output =     5.3
  12.     Input = 10.7  =>  Output =     10.7